package org.zhenglide.oa.service;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.List;

import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.ProcessDefinition;

/**
 * 
 * 流程部署服务
 * @author 84441
 *
 */
public interface IDeployService {
	List<Deployment> getDeploymentList();
	List<ProcessDefinition> getProcessDefineList();
	void deployZip(File file ,String filename) throws FileNotFoundException;
	
	 void deleteProcessDefinitionByDeploymentId(String developmentId);
	InputStream findImageInputStream(String deploymentId, String imageName);

}
